import time
import pyautogui

pause = 1000
def Main():
	time.sleep(5)
	while(True):

		pyautogui.move(10, 0,  duration=0.5)
		time.sleep(1)
		pyautogui.move(-10, 0, duration=0.5)
		time.sleep(pause)
Main()
